var  crypto=require("crypto")
module.exports = function(passwod) {
    var md5 = crypto.createHash('md5');
    var password = md5.update(passwod).digest('base64');
    return password;
}